package cn.iocoder.yudao.module.of.dal.mysql.taskfeedback;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.of.dal.dataobject.taskfeedback.TaskFeedbackDO;
import org.apache.ibatis.annotations.Mapper;
import cn.iocoder.yudao.module.of.controller.admin.taskfeedback.vo.*;

/**
 * 任务反馈 Mapper
 *
 * @author 超级管理员
 */
@Mapper
public interface TaskFeedbackMapper extends BaseMapperX<TaskFeedbackDO> {

    /*default PageResult<TaskFeedbackDO> selectPage(TaskFeedbackPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<TaskFeedbackDO>()
                .eqIfPresent(TaskFeedbackDO::getTaskId, reqVO.getTaskId())
                .eqIfPresent(TaskFeedbackDO::getFeedbackUserId, reqVO.getFeedbackUserId())
                .eqIfPresent(TaskFeedbackDO::getFeedbackStatus, reqVO.getFeedbackStatus())
                .eqIfPresent(TaskFeedbackDO::getFeedbackContent, reqVO.getFeedbackContent())
                .eqIfPresent(TaskFeedbackDO::getFeedbackAttachment, reqVO.getFeedbackAttachment())
                .betweenIfPresent(TaskFeedbackDO::getApprovalTime, reqVO.getHandleTime())
                .betweenIfPresent(TaskFeedbackDO::getCreateTime, reqVO.getCreateTime())
                .orderByDesc(TaskFeedbackDO::getId));
    }*/

}